/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util.person.address;

import java.io.Serializable;

/**
 *
 * @author Gebruiker
 */
public class AddressDetails implements Serializable {
    
    private Long id;
    private String street;
    private String number;
    private String postalCode;
    private String bus;
    private String location;
    private boolean defaultAddress;
    private Integer countryId;
    private Long addressTypeid;

    public AddressDetails(Long id, String street, String number, String postalCode, String bus, String location, boolean defaultAddress, Integer countryId, Long addressTypeid) {
        this.id = id;
        this.street = street;
        this.number = number;
        this.postalCode = postalCode;
        this.bus = bus;
        this.location = location;
        this.defaultAddress = defaultAddress;
        this.countryId = countryId;
        this.addressTypeid = addressTypeid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getBus() {
        return bus;
    }

    public void setBus(String bus) {
        this.bus = bus;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public boolean isDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(boolean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public Long getAddressTypeid() {
        return addressTypeid;
    }

    public void setAddressTypeid(Long addressTypeid) {
        this.addressTypeid = addressTypeid;
    } 
}
